<template>
	<view>
		
		<!-- 商品列表 -->
		<view class="hot-goods flex justify-start align-center" v-for="(item,index) in 2" :key="index">
			<view class="goods-pic flex align-center justify-center">
				<image class="pic" mode="aspectFill" src="/static/test/rb.jpeg"></image>
			</view>
			<view class="goods-text">
				<view class="text1 over-text2">
					这个是拼团商品的标题，需要测试一下长度之类的东西还有自提大小之类的
				</view>
				<view class="text2 flex align-center justify-between">
					<view class="item-time flex justify-start align-center">
						<image mode="aspectFill" class="w32 h32 img mr-8" src="/static/homePage/bangdan-check.png"></image>
						<text class="text">
							还剩25天21时32分42秒
						</text>
					</view>
					<text class="item2">
		
					</text>
				</view>
				<view class="text2 flex align-center justify-between">
					<text class="item1">
						需10人助力
					</text>
					
					<text class="item1 text-right">
						差2人成功
					</text>
					
				</view>
				<view class="btn flex align-center justify-between">
					<text class="item1">
						￥99.00
					</text>
					<text class="btn-item">
						马上抢
					</text>
				</view>
			</view>
		</view>




	</view>
</template>

<script>
	export default {
		data() {
			return {
				

			}
		},
		onLoad() {

		},
		methods: {
			

		}
	}
</script>

<style lang="scss">
	page{
		background-color: #eee;
	}
	.hot-goods {
		width: 750rpx;
		padding: 0 32rpx;
		margin-bottom: 16rpx;
		background-color: white;
	
		.goods-pic {
			width: 220rpx;
			height: 220rpx;
	
			.pic {
				width: 220rpx;
				height: 220rpx;
				border-radius: 16rpx;
			}
		}
	
		.goods-text {
			width: 466rpx;
			// height: 260rpx;
			padding-top: 20rpx;
			padding-left: 24rpx;
	
			.text1 {
				width: 100%;
				height: 100rpx;
				line-height: 50rpx;
				font-size: 30rpx;
			}
	
			.text2 {
				width: 100%;
				height: 40rpx;
				line-height: 40rpx;
				.item-time{
					flex:5;
					.img{
						width:32rpx;
						height:32rpx;
					}
					color:#898c8c;
				}
	
				// padding:0 20rpx;
				text {
					display: inline-block;
					flex: 1;
					line-height: 40rpx;
				}
	
				.item1 {}
			}
			
			.btn{
				width:100%;
				height:80rpx;
				.item1 {
					text-align: right;
					font-size: 36rpx;
					color: #fc2b25;
				}
				.btn-item{
					display: inline-block;
					width:120rpx;
					height:60rpx;
					background: #d4237a;
					color:white;
					line-height: 60rpx;
					text-align: center;
					
				}
			}
	
			.text3 {
				.tab-text {
					width: 80%;
					height: 60rpx;
					border: 1rpx solid #ddd;
					border-radius: 16rpx;
	
					.item1 {
						flex: 1;
						text-align: center;
						font-size: 24rpx;
						color: gray;
					}
	
					.item2 {
						width: 160rpx;
						height: 60rpx;
						background-color: pink;
						color: white;
						border-radius: 16rpx;
	
						.img {
							margin-left: 12rpx;
						}
					}
				}
	
				.icon {
					width: 60rpx;
					height: 60rpx;
					margin-left: 16rpx;
				}
	
			}
		}
	}
	
	
</style>
